package com.site.model.dining;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 餐厅优惠卷
 * @author jack
 */
@Entity
@Table(name = "t_restaurant_coupons")
public class RestaurantCouponsInfo implements Serializable {
	
	private static final long serialVersionUID = 3629393930460408514L;
	
	private Long id;
	/*
	 * 优惠卷编号
	 */
	private String cno;
	/*
	 * 优惠卷模板编号
	 */
	private String ctno;
	/*
	 * 开始时间
	 */
	private String startDate;
	/*
	 * 结束时间
	 */
	private float endDate;
	/*
	 * 状态
	 */
	private String status;
	
	

	@Id
	@GeneratedValue
	@Column(name = "ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "C_NO")
	public String getCno() {
		return cno;
	}
	public void setCno(String cno) {
		this.cno = cno;
	}
	@Column(name = "CT_NO")
	public String getCtno() {
		return ctno;
	}
	public void setCtno(String ctno) {
		this.ctno = ctno;
	}
	@Column(name = "START_DATE")
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	@Column(name = "END_DATE")
	public float getEndDate() {
		return endDate;
	}
	public void setEndDate(float endDate) {
		this.endDate = endDate;
	}
	@Column(name = "STATUS")
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}
